package com.originalpoint.origin_server.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *管理员实体类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Schema(name = "Admin" ,description = "管理员信息表")
public class Admin {
    @Schema(name = "adminId" ,description = "管理员ID")
    private Integer adminId;

    @Schema(name = "adminName" ,description = "管理员名字")
    private String adminName;

    @Schema(name = "adminPassword" ,description = "管理员密码")
    private String adminPassword;

    @Schema(name = "adminImg" ,description = "管理员图片")
    private String adminImg;

    @Schema(name = "adminAuthority" ,description = "管理员权限为2")
    private Integer adminAuthority;

    public Admin(Integer adminId, String adminName) {
        this.adminId = adminId;
        this.adminName = adminName;
    }


}
